package com.ruoyi.project.channel.channelRate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 通道商费率表 channel_rate
 * 
 * @author zero
 * @date 2019-05-13
 */
public class ChannelRate extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long rateId;
	/** 支付商 */
	private Long payerUserId;
	/** 通道商 */
	private Long channelUserId;
	/**
	 * 归属支付商
	 */
	private String payerUserName;
	/**
	 * 归属支付商
	 */
	private String channelUserName;
	/** 支付类型 */
	private String payType;
	private String payTypeLabel;
	/** 费率 */
	private BigDecimal payRate;
	/** 使用状态(0: 正常 1:停用) */
	private String useStatus;

	public void setRateId(Long rateId) 
	{
		this.rateId = rateId;
	}

	public Long getRateId() 
	{
		return rateId;
	}
	public void setPayerUserId(Long payerUserId) 
	{
		this.payerUserId = payerUserId;
	}

	public Long getPayerUserId() 
	{
		return payerUserId;
	}
	public void setChannelUserId(Long channelUserId) 
	{
		this.channelUserId = channelUserId;
	}

	public Long getChannelUserId() 
	{
		return channelUserId;
	}
	public void setPayType(String payType) 
	{
		this.payType = payType;
	}

	public String getPayType() 
	{
		return payType;
	}
	public void setPayRate(BigDecimal payRate) 
	{
		this.payRate = payRate;
	}

	public BigDecimal getPayRate() 
	{
		return payRate;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rateId", getRateId())
            .append("payerUserId", getPayerUserId())
            .append("channelUserId", getChannelUserId())
            .append("payType", getPayType())
            .append("payRate", getPayRate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("useStatus", getUseStatus())
            .toString();
    }

	public String getPayerUserName() {
		return payerUserName;
	}

	public void setPayerUserName(String payerUserName) {
		this.payerUserName = payerUserName;
	}

	public String getChannelUserName() {
		return channelUserName;
	}

	public void setChannelUserName(String channelUserName) {
		this.channelUserName = channelUserName;
	}

	public String getPayTypeLabel() {
		return payTypeLabel;
	}

	public void setPayTypeLabel(String payTypeLabel) {
		this.payTypeLabel = payTypeLabel;
	}
}
